package com.qr.bean.wmyh;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 13:01:45
 * 分离出查询实体
 */
@ApiModel(value = "jbr_user_address", description = "会员收货地址表")
@TableName(value = "jbr_user_address")
public class JbrUserAddressView implements Serializable {
	@ApiModelProperty(value = "编号")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "编号不能为空")
	private Integer id;
	@ApiModelProperty(value = "会员ID")
	@TableField(value="user_id")
	private Integer user_id;
	@ApiModelProperty(value = "收货人")
	@TableField(value="receive_name")
	private String receive_name;
	@ApiModelProperty(value = "详细地址")
	@TableField(value="receive_address")
	private String receive_address;
	@ApiModelProperty(value = "手机号")
	@TableField(value="mobile")
	private String mobile;
	@ApiModelProperty(value = "省份ID")
	@TableField(value="province_id")
	private Integer province_id;
	@ApiModelProperty(value = "城市ID")
	@TableField(value="city_id")
	private Integer city_id;
	@ApiModelProperty(value = "区县ID")
	@TableField(value="area_id")
	private Integer area_id;
	@ApiModelProperty(value = "1默认 0非默认")
	@TableField(value="is_default")
	private Integer is_default;
	@ApiModelProperty(value = "邮编")
	@TableField(value="post_num")
	private String post_num;
	@ApiModelProperty(value = "设置一个易记的名称，如：“家里”、“公司“")
	@TableField(value="alias")
	private String alias;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
 
	public String getReceive_name() {
		return receive_name;
	}
	public void setReceive_name(String receive_name) {
		this.receive_name = receive_name;
	}
 
	public String getReceive_address() {
		return receive_address;
	}
	public void setReceive_address(String receive_address) {
		this.receive_address = receive_address;
	}
 
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
 
	public Integer getProvince_id() {
		return province_id;
	}
	public void setProvince_id(Integer province_id) {
		this.province_id = province_id;
	}
 
	public Integer getCity_id() {
		return city_id;
	}
	public void setCity_id(Integer city_id) {
		this.city_id = city_id;
	}
 
	public Integer getArea_id() {
		return area_id;
	}
	public void setArea_id(Integer area_id) {
		this.area_id = area_id;
	}
 
	public Integer getIs_default() {
		return is_default;
	}
	public void setIs_default(Integer is_default) {
		this.is_default = is_default;
	}
 
	public String getPost_num() {
		return post_num;
	}
	public void setPost_num(String post_num) {
		this.post_num = post_num;
	}
 
	public String getAlias() {
		return alias;
	}
	public void setAlias(String alias) {
		this.alias = alias;
	}

}